package com.langxin.erp.model;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

public class TourInfo extends BaseInfo {

	
	private static final long serialVersionUID = -7855841670531218600L;
	// 地区
	private String zoneName;
	// 地区
	@NotNull(message = "地区不能为空")
	private Integer zone;
	// 标题
	@NotBlank(message = "请填写标题")
	private String title;
	// 描述
	@NotBlank(message = "请填写描述")
	private String descr;
	// 图片
	@NotBlank(message = "请上传图片")
	private String image;
	// 正文
	@NotBlank(message = "请填写正文")
	private String context;
	// 标签
	private String tag;
	// 标签颜色
	private String color;
	// 是否精品推荐
	@NotNull(message = "请填写是否精品推荐")
	private Integer isGifts;
	// 阅读次数
	private Integer readTime;
	// 状态 1 可用  0 无效
	private Integer status;
	// 用户ID
	private Integer userId;
	
	
	
	public String getDescr() {
		return descr;
	}
	public void setDescr(String descr) {
		this.descr = descr;
	}
	public String getZoneName() {
		return zoneName;
	}
	public void setZoneName(String zoneName) {
		this.zoneName = zoneName;
	}
	public Integer getZone() {
		return zone;
	}
	public void setZone(Integer zone) {
		this.zone = zone;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public Integer getIsGifts() {
		return isGifts;
	}
	public void setIsGifts(Integer isGifts) {
		this.isGifts = isGifts;
	}
	public Integer getReadTime() {
		return readTime;
	}
	public void setReadTime(Integer readTime) {
		this.readTime = readTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}

}
